package com.yt.order.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.yt.order.models.bo.WorkOrderInfoSaveBO;
import com.yt.order.models.dto.WorkOrderInfoDTO;

/**
 * 工单服务
 *
 * @author xieyanfei
 * @Date 2025-09-04 21:53:07
 */
public interface IWorkOrderInfoService extends IService<WorkOrderInfoDTO> {
    boolean add(WorkOrderInfoSaveBO saveBO);

    // 新增状态变更方法
    boolean changeToInProgress(Long id);

    // 新增拒绝工单方法
    boolean rejectOrder(Long id, String reason);
}
